//
//  CAHistoryDataNALG+Desc.m
//  CareRing
//
//  Created  on 2024/12/14.
//
    

#import "CAHistoryDataNALG+Desc.h"
#import <DateTools/DateTools.h>
#import "ConfigModel.h"
@implementation CAHistoryDataNALG (Desc)
-(NSString *)wholeDesc
{

    NSMutableString *infoString = [NSMutableString new];
    NSDate *date = [NSDate dateWithTimeIntervalSince1970:self.timeStamp.doubleValue];
    ;
    [infoString appendFormat:@"Date:%@, ", [date formattedDateWithFormat:_L2(L_DATE_FMT)]];
    [infoString appendFormat:@"UUid:%@, ", self.dataUuid];
    [infoString appendFormat:@"cardiacCoherence:%@, ", self.cardiacCoherence];
    [infoString appendFormat:@"Respiratory rate:%@, IBI:%@, HRV:%@, Stress:%@, RestHr:%@", self.breathRate, self.IBI, self.hrv, self.stress, self.restHr];
    

    return infoString;
    
}
@end
